import { FileSchema } from './fileSchema'
import { RoleShcema } from './role'

export interface AccountSchema {
  email: string
  gender: string
  ico: FileSchema
  id?: string
  mobile: string
  realname: string
  role_key_default: string
  status: number
  structureid: string
  tenant_code: string
  username: string
  roles?: RoleShcema[]
  roleid_default: string
}

export interface AccountRoleSchema {
  'id': string
  'roleid': string
  'accountid': string
  'expiry_datetime': number
  'create_datetime': number
  'operator': string
  'operatorid': string
  'status': number
}
